package cn.com.bod.fas.sa.model;

import cn.com.yusys.yusp.commons.mapper.annotation.Generated;
import cn.com.yusys.yusp.commons.mapper.annotation.GenerationType;
import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * @项目名称: customer-starter模块
 * @类名称: AdminSmUser
 * @类描述: admin_sm_user数据实体类
 * @功能描述: 
 * @创建人: danyubin
 * @创建时间: 2019-09-04 11:28:00
 * @修改备注: 
 * @修改记录: 修改时间    修改人员    修改原因
 * -------------------------------------------------------------
 * @version 1.0.0
 * @Copyright (c) 宇信科技-版权所有
 */
@Entity
@Table(name = "admin_sm_user")
public class AdminSmUser extends BaseDomain implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 记录编号 **/
	@Id
	@Generated(GenerationType.UUID)
	@Column(name = "USER_ID")
	private String userId;

	/** 登录代码 **/
	@Column(name = "LOGIN_CODE", unique = false, nullable = false, length = 100)
	private String loginCode;
	
	/** 姓名 **/
	@Column(name = "USER_NAME", unique = false, nullable = false, length = 100)
	private String userName;
	
	/** 证件类型 **/
	@Column(name = "CERT_TYPE", unique = false, nullable = true, length = 10)
	private String certType;
	
	/** 证件号码 **/
	@Column(name = "CERT_NO", unique = false, nullable = true, length = 100)
	private String certNo;
	
	/** 员工号 **/
	@Column(name = "USER_CODE", unique = false, nullable = true, length = 100)
	private String userCode;
	
	/** 有效期到 **/
	@Column(name = "DEADLINE", unique = false, nullable = true, length = 20)
	private String deadline;
	
	/** 所属机构编号 **/
	@Column(name = "ORG_ID", unique = false, nullable = false, length = 32)
	private String orgId;
	
	/** 所属部门编号 **/
	@Column(name = "DPT_ID", unique = false, nullable = true, length = 32)
	private String dptId;
	
	/** 密码 **/
	@Column(name = "USER_PASSWORD", unique = false, nullable = false, length = 100)
	private String userPassword;
	
	/** 性别 **/
	@Column(name = "USER_SEX", unique = false, nullable = true, length = 10)
	private String userSex;
	
	/** 生日 **/
	@Column(name = "USER_BIRTHDAY", unique = false, nullable = true, length = 20)
	private String userBirthday;
	
	/** 邮箱 **/
	@Column(name = "USER_EMAIL", unique = false, nullable = true, length = 100)
	private String userEmail;
	
	/** 移动电话 **/
	@Column(name = "USER_MOBILEPHONE", unique = false, nullable = true, length = 100)
	private String userMobilephone;
	
	/** 办公电话 **/
	@Column(name = "USER_OFFICETEL", unique = false, nullable = true, length = 100)
	private String userOfficetel;
	
	/** 学历 **/
	@Column(name = "USER_EDUCATION", unique = false, nullable = true, length = 10)
	private String userEducation;
	
	/** 资格证书 **/
	@Column(name = "USER_CERTIFICATE", unique = false, nullable = true, length = 200)
	private String userCertificate;
	
	/** 入职日期 **/
	@Column(name = "ENTRANTS_DATE", unique = false, nullable = true, length = 20)
	private String entrantsDate;
	
	/** 任职时间 **/
	@Column(name = "POSITION_TIME", unique = false, nullable = true, length = 20)
	private String positionTime;
	
	/** 从业时间 **/
	@Column(name = "FINANCIAL_JOB_TIME", unique = false, nullable = true, length = 20)
	private String financialJobTime;
	
	/** 职级 **/
	@Column(name = "POSITION_DEGREE", unique = false, nullable = true, length = 10)
	private String positionDegree;
	
	/** 用户头像 **/
	@Column(name = "USER_AVATAR", unique = false, nullable = true, length = 200)
	private String userAvatar;
	
	/** 常用IP，逗号分隔 **/
	@Column(name = "OFFEN_IP", unique = false, nullable = true, length = 200)
	private String offenIp;
	
	/** 状态：对应字典项=NORM_STS A：生效 I：失效 W：待生效 **/
	@Column(name = "USER_STS", unique = false, nullable = false, length = 10)
	private String userSts;
	
	/** 最近登录时间 **/
	@Column(name = "LAST_LOGIN_TIME", unique = false, nullable = true, length = 20)
	private String lastLoginTime;
	
	/** 最近一次修改密码时间 **/
	@Column(name = "LAST_EDIT_PASS_TIME", unique = false, nullable = true, length = 20)
	private String lastEditPassTime;
	
	/** 最新变更用户 **/
	@Column(name = "LAST_CHG_USR", unique = false, nullable = false, length = 32)
	private String lastChgUsr;
	
	/** 最新变更时间 **/
	@Column(name = "LAST_CHG_DT", unique = false, nullable = false, length = 20)
	private String lastChgDt;
	
	/** 头像地址 **/
	@Column(name = "HEAD_PORT", unique = false, nullable = true, length = 200)
	private String headPort;
	
	/** 指纹信息 **/
	@Column(name = "FINGER_PRINT", unique = false, nullable = true, length = 500)
	private String fingerPrint;
	
	/** 声纹信息 **/
	@Column(name = "VOICE_PRINT", unique = false, nullable = true, length = 500)
	private String voicePrint;
	
	/** 面部信息 **/
	@Column(name = "FACE_PRINT", unique = false, nullable = true, length = 500)
	private String facePrint;
	
	/** 手势密码 **/
	@Column(name = "GESTURE_PASSWORD", unique = false, nullable = true, length = 500)
	private String gesturePassword;
	
	
	/**
	 * @param userId
	 */
	public void setUserId(String userId) {
		this.userId = userId == null ? null : userId.trim();
	}
	
    /**
     * @return UserId
     */	
	public String getUserId() {
		return this.userId;
	}
	
	/**
	 * @param loginCode
	 */
	public void setLoginCode(String loginCode) {
		this.loginCode = loginCode == null ? null : loginCode.trim();
	}
	
    /**
     * @return LoginCode
     */	
	public String getLoginCode() {
		return this.loginCode;
	}
	
	/**
	 * @param userName
	 */
	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}
	
    /**
     * @return UserName
     */	
	public String getUserName() {
		return this.userName;
	}
	
	/**
	 * @param certType
	 */
	public void setCertType(String certType) {
		this.certType = certType == null ? null : certType.trim();
	}
	
    /**
     * @return CertType
     */	
	public String getCertType() {
		return this.certType;
	}
	
	/**
	 * @param certNo
	 */
	public void setCertNo(String certNo) {
		this.certNo = certNo == null ? null : certNo.trim();
	}
	
    /**
     * @return CertNo
     */	
	public String getCertNo() {
		return this.certNo;
	}
	
	/**
	 * @param userCode
	 */
	public void setUserCode(String userCode) {
		this.userCode = userCode == null ? null : userCode.trim();
	}
	
    /**
     * @return UserCode
     */	
	public String getUserCode() {
		return this.userCode;
	}
	
	/**
	 * @param deadline
	 */
	public void setDeadline(String deadline) {
		this.deadline = deadline == null ? null : deadline.trim();
	}
	
    /**
     * @return Deadline
     */	
	public String getDeadline() {
		return this.deadline;
	}
	
	/**
	 * @param orgId
	 */
	public void setOrgId(String orgId) {
		this.orgId = orgId == null ? null : orgId.trim();
	}
	
    /**
     * @return OrgId
     */	
	public String getOrgId() {
		return this.orgId;
	}
	
	/**
	 * @param dptId
	 */
	public void setDptId(String dptId) {
		this.dptId = dptId == null ? null : dptId.trim();
	}
	
    /**
     * @return DptId
     */	
	public String getDptId() {
		return this.dptId;
	}
	
	/**
	 * @param userPassword
	 */
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword == null ? null : userPassword.trim();
	}
	
    /**
     * @return UserPassword
     */	
	public String getUserPassword() {
		return this.userPassword;
	}
	
	/**
	 * @param userSex
	 */
	public void setUserSex(String userSex) {
		this.userSex = userSex == null ? null : userSex.trim();
	}
	
    /**
     * @return UserSex
     */	
	public String getUserSex() {
		return this.userSex;
	}
	
	/**
	 * @param userBirthday
	 */
	public void setUserBirthday(String userBirthday) {
		this.userBirthday = userBirthday == null ? null : userBirthday.trim();
	}
	
    /**
     * @return UserBirthday
     */	
	public String getUserBirthday() {
		return this.userBirthday;
	}
	
	/**
	 * @param userEmail
	 */
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail == null ? null : userEmail.trim();
	}
	
    /**
     * @return UserEmail
     */	
	public String getUserEmail() {
		return this.userEmail;
	}
	
	/**
	 * @param userMobilephone
	 */
	public void setUserMobilephone(String userMobilephone) {
		this.userMobilephone = userMobilephone == null ? null : userMobilephone.trim();
	}
	
    /**
     * @return UserMobilephone
     */	
	public String getUserMobilephone() {
		return this.userMobilephone;
	}
	
	/**
	 * @param userOfficetel
	 */
	public void setUserOfficetel(String userOfficetel) {
		this.userOfficetel = userOfficetel == null ? null : userOfficetel.trim();
	}
	
    /**
     * @return UserOfficetel
     */	
	public String getUserOfficetel() {
		return this.userOfficetel;
	}
	
	/**
	 * @param userEducation
	 */
	public void setUserEducation(String userEducation) {
		this.userEducation = userEducation == null ? null : userEducation.trim();
	}
	
    /**
     * @return UserEducation
     */	
	public String getUserEducation() {
		return this.userEducation;
	}
	
	/**
	 * @param userCertificate
	 */
	public void setUserCertificate(String userCertificate) {
		this.userCertificate = userCertificate == null ? null : userCertificate.trim();
	}
	
    /**
     * @return UserCertificate
     */	
	public String getUserCertificate() {
		return this.userCertificate;
	}
	
	/**
	 * @param entrantsDate
	 */
	public void setEntrantsDate(String entrantsDate) {
		this.entrantsDate = entrantsDate == null ? null : entrantsDate.trim();
	}
	
    /**
     * @return EntrantsDate
     */	
	public String getEntrantsDate() {
		return this.entrantsDate;
	}
	
	/**
	 * @param positionTime
	 */
	public void setPositionTime(String positionTime) {
		this.positionTime = positionTime == null ? null : positionTime.trim();
	}
	
    /**
     * @return PositionTime
     */	
	public String getPositionTime() {
		return this.positionTime;
	}
	
	/**
	 * @param financialJobTime
	 */
	public void setFinancialJobTime(String financialJobTime) {
		this.financialJobTime = financialJobTime == null ? null : financialJobTime.trim();
	}
	
    /**
     * @return FinancialJobTime
     */	
	public String getFinancialJobTime() {
		return this.financialJobTime;
	}
	
	/**
	 * @param positionDegree
	 */
	public void setPositionDegree(String positionDegree) {
		this.positionDegree = positionDegree == null ? null : positionDegree.trim();
	}
	
    /**
     * @return PositionDegree
     */	
	public String getPositionDegree() {
		return this.positionDegree;
	}
	
	/**
	 * @param userAvatar
	 */
	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar == null ? null : userAvatar.trim();
	}
	
    /**
     * @return UserAvatar
     */	
	public String getUserAvatar() {
		return this.userAvatar;
	}
	
	/**
	 * @param offenIp
	 */
	public void setOffenIp(String offenIp) {
		this.offenIp = offenIp == null ? null : offenIp.trim();
	}
	
    /**
     * @return OffenIp
     */	
	public String getOffenIp() {
		return this.offenIp;
	}
	
	/**
	 * @param userSts
	 */
	public void setUserSts(String userSts) {
		this.userSts = userSts == null ? null : userSts.trim();
	}
	
    /**
     * @return UserSts
     */	
	public String getUserSts() {
		return this.userSts;
	}
	
	/**
	 * @param lastLoginTime
	 */
	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime == null ? null : lastLoginTime.trim();
	}
	
    /**
     * @return LastLoginTime
     */	
	public String getLastLoginTime() {
		return this.lastLoginTime;
	}
	
	/**
	 * @param lastEditPassTime
	 */
	public void setLastEditPassTime(String lastEditPassTime) {
		this.lastEditPassTime = lastEditPassTime == null ? null : lastEditPassTime.trim();
	}
	
    /**
     * @return LastEditPassTime
     */	
	public String getLastEditPassTime() {
		return this.lastEditPassTime;
	}
	
	/**
	 * @param lastChgUsr
	 */
	public void setLastChgUsr(String lastChgUsr) {
		this.lastChgUsr = lastChgUsr == null ? null : lastChgUsr.trim();
	}
	
    /**
     * @return LastChgUsr
     */	
	public String getLastChgUsr() {
		return this.lastChgUsr;
	}
	
	/**
	 * @param lastChgDt
	 */
	public void setLastChgDt(String lastChgDt) {
		this.lastChgDt = lastChgDt == null ? null : lastChgDt.trim();
	}
	
    /**
     * @return LastChgDt
     */	
	public String getLastChgDt() {
		return this.lastChgDt;
	}
	
	/**
	 * @param headPort
	 */
	public void setHeadPort(String headPort) {
		this.headPort = headPort == null ? null : headPort.trim();
	}
	
    /**
     * @return HeadPort
     */	
	public String getHeadPort() {
		return this.headPort;
	}
	
	/**
	 * @param fingerPrint
	 */
	public void setFingerPrint(String fingerPrint) {
		this.fingerPrint = fingerPrint == null ? null : fingerPrint.trim();
	}
	
    /**
     * @return FingerPrint
     */	
	public String getFingerPrint() {
		return this.fingerPrint;
	}
	
	/**
	 * @param voicePrint
	 */
	public void setVoicePrint(String voicePrint) {
		this.voicePrint = voicePrint == null ? null : voicePrint.trim();
	}
	
    /**
     * @return VoicePrint
     */	
	public String getVoicePrint() {
		return this.voicePrint;
	}
	
	/**
	 * @param facePrint
	 */
	public void setFacePrint(String facePrint) {
		this.facePrint = facePrint == null ? null : facePrint.trim();
	}
	
    /**
     * @return FacePrint
     */	
	public String getFacePrint() {
		return this.facePrint;
	}
	
	/**
	 * @param gesturePassword
	 */
	public void setGesturePassword(String gesturePassword) {
		this.gesturePassword = gesturePassword == null ? null : gesturePassword.trim();
	}
	
    /**
     * @return GesturePassword
     */	
	public String getGesturePassword() {
		return this.gesturePassword;
	}


}